*{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.clock{
    width: 400px;
    height: 400px;
    border: 7px solid #6b5fd6f9;
    border-radius: 50%;
    background-image: url(./IMG_20210916_233638.jpg);
    background-size: cover;
    padding: 25px;
    background-position: center center;
}
.outer-clock-face{
    width: 100%;
    height: 100%;
    border-radius: 100%;
    position: relative;
}
.marking{
    width: 3px;
    height: 100%;
    background-color: rgba(175, 17, 207, 0.614);
    position: absolute;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 10px;
    transform-origin: 50% 50%;
}
.marking-zhiyin{
    transform: rotateZ(30deg);  
}
.marking-damn{
    transform: rotateZ(60deg);  
}
.marking-m3{
    transform: rotateZ(120deg);  
}
.marking-shit{
    transform: rotateZ(150deg);  
}


/* 伪元素  ::before,::after */
.outer-clock-face::before,
.outer-clock-face::after{
    content: '';
    width: 10px;
    height: 100%;
    background-color: #55e268;
    display: block;
    position: absolute;
    left:50%;
    margin-left: -5px;
    border-radius: 10px;
}
.outer-clock-face::after{
    transform: rotateZ(90deg);
}

.inner-clock-face{
    width: 80%;
    height: 80%;
    border-radius: 100%;
    background-color: #a49898;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.hand{
    width: 30%;
    height: 6px;
    background-color: #4625ca;
    position: absolute;
    top: 50%;
    right: 50%;
    border-radius: 6px;
    margin-top: -3px;
    transform: rotate(90deg);
    transform-origin: 100% 50% ;
}
.second-hand{
    width: 45%;
    height: 2px;
    margin-top: -1px;
    background-color: aqua;
}


